$(function () {
    $("._j_support_btn").click(function () {

        var tid = $(this).data("tid");
        $.get("/mine/travelThumbup", {tid:tid}, function (data) {
            console.log(data);
            if(data.success){
                $(".support_num").html(data.data.thumbsupnum);
                popup("顶成功啦");
            }else{
                popup("今天你已经顶过了");
            }
        });
    })
});
